import QtQuick 2.0
import QtQuick.Controls 1.1
import "../FKWidget/"

FKWidget{
    id: mm
    relativeHeight: 0.6
    relativeWidth: 0.6
    signal netRequested
    signal localRequested
    FKViewport{
        id:viewport
        Column{
            anchors.horizontalCenter: parent.horizontalCenter
            Item{
                height:viewport.height/4
                width:viewport.width*0.9
            }
            Item {
                height: viewport.height/8
                width:viewport.width*0.9
                Button{
                    text: "Local mode"
                    anchors.left: parent.left
                    anchors.right: parent.right
                    anchors.verticalCenter: parent.verticalCenter
                    onClicked: mm.localRequested()
                }
            }
            Item {
                height: viewport.height/8
                width:viewport.width*0.9
                Button{
                    text: "Net mode"
                    anchors.left: parent.left
                    anchors.right: parent.right
                    anchors.verticalCenter: parent.verticalCenter
                    onClicked: mm.netRequested()
                }
            }
            Item{
                height:viewport.height/4
                width:viewport.width*0.9
            }
            Button{
                text: "Quit to DOS or something else"
                width:viewport.width*0.9
                onClicked: Qt.quit()
            }
        }
    }
}
